package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 患者消费明细对象 PatientCosts
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("PatientCosts")
@ApiModel(value = "PatientCosts对象", description = "患者消费明细")
public class PatientCosts implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 挂号id
     */
    @Excel(name = "挂号id")
    @ApiModelProperty("挂号id")
    @TableField("RegisterId")
    private Long RegisterId;

    /**
     * 项目名称0-挂号1-检查2-处方
     */
    @Excel(name = "项目名称0-挂号1-检查2-处方")
    @ApiModelProperty("项目名称0-挂号1-检查2-处方")
    @TableField("ItemId")
    private Long ItemId;

    /**
     * 项目价格
     */
    @Excel(name = "项目价格")
    @ApiModelProperty("项目价格")
    @TableField("Price")
    private BigDecimal Price;

    /**
     * 缴费状态0-未缴1-已缴
     */
    @Excel(name = "缴费状态0-未缴1-已缴")
    @ApiModelProperty("缴费状态0-未缴1-已缴")
    @TableField("State")
    private Long State;

    /**
     * 删除标记
     */
    @ApiModelProperty("删除标记")
    @TableField("DelMark")
    private Long DelMark;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("RegisterId")
    public Long getRegisterId() {
        return RegisterId;
    }

    public void setRegisterId(Long RegisterId) {
        this.RegisterId = RegisterId;
    }

    @JsonProperty("ItemId")
    public Long getItemId() {
        return ItemId;
    }

    public void setItemId(Long ItemId) {
        this.ItemId = ItemId;
    }

    @JsonProperty("Price")
    public BigDecimal getPrice() {
        return Price;
    }

    public void setPrice(BigDecimal Price) {
        this.Price = Price;
    }

    @JsonProperty("State")
    public Long getState() {
        return State;
    }

    public void setState(Long State) {
        this.State = State;
    }

    @JsonProperty("DelMark")
    public Long getDelMark() {
        return DelMark;
    }

    public void setDelMark(Long DelMark) {
        this.DelMark = DelMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("RegisterId", getRegisterId())
                .append("ItemId", getItemId())
                .append("Price", getPrice())
                .append("State", getState())
                .append("DelMark", getDelMark())
                .toString();
    }
}

